[INFO] cloning repository https://github.com/blue-emc2/book_16
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blue-emc2/book_16" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblue-emc2%2Fbook_16", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblue-emc2%2Fbook_16'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6c922c135d876b5fb4ab0b451905b67d58e02063
[INFO] checking blue-emc2/book_16 against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblue-emc2%2Fbook_16" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/blue-emc2/book_16 on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/blue-emc2/book_16
[INFO] finished tweaking git repo https://github.com/blue-emc2/book_16
[INFO] tweaked toml for git repo https://github.com/blue-emc2/book_16 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/blue-emc2/book_16 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 9a9b7f17d0ef8b3d48e6557053cd0b65095b0e5935b1584978ef6b0ec3589144
[INFO] running `Command { std: "docker" "start" "-a" "9a9b7f17d0ef8b3d48e6557053cd0b65095b0e5935b1584978ef6b0ec3589144", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9a9b7f17d0ef8b3d48e6557053cd0b65095b0e5935b1584978ef6b0ec3589144", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9a9b7f17d0ef8b3d48e6557053cd0b65095b0e5935b1584978ef6b0ec3589144", kill_on_drop: false }`
[INFO] [stdout] 9a9b7f17d0ef8b3d48e6557053cd0b65095b0e5935b1584978ef6b0ec3589144
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 853b42f8e12d2d81094b929c691d438f5940436958d90c7b63edbc079707a3c4
[INFO] running `Command { std: "docker" "start" "-a" "853b42f8e12d2d81094b929c691d438f5940436958d90c7b63edbc079707a3c4", kill_on_drop: false }`
[INFO] [stderr]     Checking book_16 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::time::Duration`
[INFO] [stdout]  --> examples/spawn2.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::time::Duration;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `counter`
[INFO] [stdout]   --> examples/mutex1.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 5  |   let counter = Mutex::new(0);
[INFO] [stdout]    |       ------- move occurs because `counter` has type `Mutex<i32>`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 9  |     let handle = thread::spawn(move || {
[INFO] [stdout]    |                                ------- value moved into closure here, in previous iteration of loop
[INFO] [stdout] ...
[INFO] [stdout] 21 |   println!("Result: {}", *counter.lock().unwrap());
[INFO] [stdout]    |                           ^^^^^^^^^^^^^^ value borrowed here after move
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `book_16` (example "mutex1") due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "853b42f8e12d2d81094b929c691d438f5940436958d90c7b63edbc079707a3c4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "853b42f8e12d2d81094b929c691d438f5940436958d90c7b63edbc079707a3c4", kill_on_drop: false }`
[INFO] [stdout] 853b42f8e12d2d81094b929c691d438f5940436958d90c7b63edbc079707a3c4
